package com.xydtech.ecard.merchant.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * EcardPriorCreditUser
 *
 * @author yuzhiguo
 * @date 2024-05-28 下午2:07
 */
public class EcardPriorCreditUser extends BaseEntity {

    /**
     * 机构Id
     */
    private Long deptId;

    /**
     * 客户经理id
     */
    private Long userId;

    /**
     * 客户经理
     */
    @Excel(name = "客户经理")
    private String userName;

    /**
     * 建档额度排名排名
     */
    @Excel(name = "额度排名")
    private Long rank;

    /**
     * 预授信总额度
     */
    @Excel(name = "预授信总额度")
    private Double priorCreditLimit;

    /**
     * 上月新增
     */
    @Excel(name = "上月新增")
    private Double lastMouthPriorCreditLimit;

    /**
     * 本月新增
     */
    @Excel(name = "本月新增")
    private Double thisMouthPriorCreditLimit;

    /**
     * 较上月对比
     */
    @Excel(name = "较上月对比")
    private Double comparePriorCreditLimit;

    /**
     * 预授信总户数
     */
    @Excel(name = "预授信总户数")
    private Long priorCreditNum;

    /**
     * 户数排名
     */
    @Excel(name = "户数排名")
    private Long numRank;

    /**
     * 机构名称
     */
    @Excel(name = "机构名称")
    private String deptName;

    /**
     * 客户类型，1个人，2商户
     */
    private String custType;

    /**
     * 较上月类型（1：上升，2：下降）
     */
    private String compareType;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getRank() {
        return rank;
    }

    public void setRank(Long rank) {
        this.rank = rank;
    }

    public Double getPriorCreditLimit() {
        return priorCreditLimit;
    }

    public void setPriorCreditLimit(Double priorCreditLimit) {
        this.priorCreditLimit = priorCreditLimit;
    }

    public Double getLastMouthPriorCreditLimit() {
        return lastMouthPriorCreditLimit;
    }

    public void setLastMouthPriorCreditLimit(Double lastMouthPriorCreditLimit) {
        this.lastMouthPriorCreditLimit = lastMouthPriorCreditLimit;
    }

    public Double getThisMouthPriorCreditLimit() {
        return thisMouthPriorCreditLimit;
    }

    public void setThisMouthPriorCreditLimit(Double thisMouthPriorCreditLimit) {
        this.thisMouthPriorCreditLimit = thisMouthPriorCreditLimit;
    }

    public Double getComparePriorCreditLimit() {
        return comparePriorCreditLimit;
    }

    public void setComparePriorCreditLimit(Double comparePriorCreditLimit) {
        this.comparePriorCreditLimit = comparePriorCreditLimit;
    }

    public Long getPriorCreditNum() {
        return priorCreditNum;
    }

    public void setPriorCreditNum(Long priorCreditNum) {
        this.priorCreditNum = priorCreditNum;
    }

    public Long getNumRank() {
        return numRank;
    }

    public void setNumRank(Long numRank) {
        this.numRank = numRank;
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCompareType() {
        return compareType;
    }

    public void setCompareType(String compareType) {
        this.compareType = compareType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("rank", getRank())
                .append("priorCreditLimit", getPriorCreditLimit())
                .append("lastMouthPriorCreditLimit", getLastMouthPriorCreditLimit())
                .append("thisMouthPriorCreditLimit", getThisMouthPriorCreditLimit())
                .append("comparePriorCreditLimit", getComparePriorCreditLimit())
                .append("priorCreditNum", getPriorCreditNum())
                .append("numRank", getNumRank())
                .append("custType", getCustType())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("compareType", getCompareType())
                .toString();
    }
}
